View Issue Details

IDProjectCategoryView StatusLast Update
0000589T99X171.00 SKB EagleSW Issuepublic2019-04-16 11:54
Reporter(ALTech) Eric KimAssigned To(ALTech) Eric KimDue Date
PriorityimmediateSeveritys2-severeReproducibilityalways
Status closedResolutionfixed 
Summary0000589: [BT] Excessive CPU usage in BT
DescriptionBT has excessively occupied CPU usage upto 99% when BT connection is getting failed or while BT connection keeps failing, so it isn't too smooth when making use of other services.
Please check it as soon as you can.
TagsNo tags attached.
Attach Tags

Users monitoring this issue

User List (ALTech) Jewoo Lee , (ALTech) SY Yoon , (SW) Jason Ling , (SW) Kerwin Chen

Activities

(ALTech) Eric Kim

2019-03-28 16:00

developer  

CPU Usage.png (69,234 bytes)   
CPU Usage.png (69,234 bytes)   

(SW) Jacky Chiang

2019-03-29 19:43

manager   ~0001775

We are checking on this issue.

(SW) Kerwin Chen

2019-04-02 14:17

developer   ~0001813

Hi Eric,

We did changes in BT stack on V15.502.9 release.
I don't see this issue happened.
Could you update if this issue still exist on V15.502.9 release ?
Thanks !

(ALTech) Eric Kim

2019-04-02 16:21

developer   ~0001823

Hi Kerwin,

BT's CPU usage is 0.7 ~ 1.6% when BT pairing or connection is getting failed.
So this issue seems to be fixed in v15.502.9.

(SW) Kerwin Chen

2019-04-02 20:03

developer   ~0001834

included in v15.502.9

(ALTech) Eric Kim

2019-04-03 14:28

developer   ~0001857

Last edited: 2019-04-03 19:27

Hi Kerwin,

It has been reproduced that BT's CPU usage is 100%.
Please check it as soon as you can.

For your reference, done rebooting STB under this issue has been observed, then STB displayed the previous BT pairing list. So we tried BT connection again and BT has been displayed as the connection, but BT is not working and its CPU usage is still 100%.
BT status seems to be stuck.

Here is the reproducible path.

1) Disconnect RCU BT via [*]+[Home] under RCU BT connection
     1-1) Make sure that RCU is in BT connection status in the remote control & accessory menu
     1-2) Verify if it's in the paired state by disconnecting BT
2) Retrying pairing BT via [*]+[#]
     2-1) Must block IR and try it with only BT when performing to pair RCU
     2-2) Verify if BT connection is displayed in the remote control & accessory menu
3) Verify RCU BT's behavior
     3-1) Verify if RCU is working with only IR mode (RCU is not operating with BT mode)
     3-2) Then BT's CPU usage reached upto 99~100%

CPU Usage-2.png (172,658 bytes)   
CPU Usage-2.png (172,658 bytes)   
alog_BT_cpu_100.7z (764,756 bytes)
btsnoop_hci.7z (295,698 bytes)

(SW) Kerwin Chen

2019-04-08 11:02

developer   ~0001896

Hi Eric,

Jason shows me how to reproduce this issue, it seems 100% reproducible.
I will check for the root cause, thanks for your information.

(SW) Kerwin Chen

2019-04-10 14:29

developer   ~0001962

Currently, the BT stack will try to connect to RCU even after RCU clear pairing information.
During the connection, BT stack enter a infinite loop.
We are looking for solution to fix it.

(ALTech) Eric Kim

2019-04-15 09:26

developer   ~0002000

Hi Kerwin,

Just verified with your test version, the behavior is the same as Kaon STB's one that BT connection by only BT signal is failed, and BT connection is established normally when trying to pair BT again via [*]+[#]. So the test result is acceptable.

(SW) Kerwin Chen

2019-04-15 09:44

developer   ~0002002

Hi Eric,

Thanks for your test result.
We will include this fix in next release.

(ALTech) Eric Kim

2019-04-16 11:53

developer   ~0002008

Hi Kerwin,

Just verified it with v15.502.12 version, and the test result is OK.
Thanks for your effort!

(ALTech) Eric Kim

2019-04-16 11:54

developer   ~0002009

Hi Kerwin,

Just verified it with v15.502.12 version, and the test result is OK.
Thanks for your effort!

Issue History

Date Modified Username Field Change
2019-03-28 16:00 (ALTech) Eric Kim New Issue
2019-03-28 16:00 (ALTech) Eric Kim Status new => assigned
2019-03-28 16:00 (ALTech) Eric Kim Assigned To => (SW) Jacky Chiang
2019-03-28 16:00 (ALTech) Eric Kim File Added: CPU Usage.png
2019-03-28 16:00 (ALTech) Eric Kim File Added: LogFilter_20190328_161848.7z
2019-03-28 16:01 (ALTech) Eric Kim Issue Monitored: (ALTech) SY Yoon
2019-03-28 16:02 (ALTech) Eric Kim Issue Monitored: (SW) Kerwin Chen
2019-03-29 19:43 (SW) Jacky Chiang Note Added: 0001775
2019-03-29 19:48 (SW) Jacky Chiang Assigned To (SW) Jacky Chiang => (SW) Kerwin Chen
2019-04-01 08:57 (ALTech) Eric Kim Description Updated
2019-04-02 14:17 (SW) Kerwin Chen Note Added: 0001813
2019-04-02 16:21 (ALTech) Eric Kim Note Added: 0001823
2019-04-02 20:03 (SW) Kerwin Chen Assigned To (SW) Kerwin Chen => (ALTech) Eric Kim
2019-04-02 20:03 (SW) Kerwin Chen Status assigned => resolved
2019-04-02 20:03 (SW) Kerwin Chen Resolution open => fixed
2019-04-02 20:03 (SW) Kerwin Chen Note Added: 0001834
2019-04-03 14:28 (ALTech) Eric Kim File Added: CPU Usage-2.png
2019-04-03 14:28 (ALTech) Eric Kim File Added: alog_BT_cpu_100.7z
2019-04-03 14:28 (ALTech) Eric Kim File Added: btsnoop_hci.7z
2019-04-03 14:28 (ALTech) Eric Kim Note Added: 0001857
2019-04-03 14:29 (ALTech) Eric Kim Assigned To (ALTech) Eric Kim => (SW) Kerwin Chen
2019-04-03 14:29 (ALTech) Eric Kim Status resolved => assigned
2019-04-03 14:35 (ALTech) Eric Kim Note Edited: 0001857
2019-04-03 14:35 (ALTech) Eric Kim Issue Monitored: (ALTech) Jewoo Lee
2019-04-03 14:36 (ALTech) Eric Kim Note Edited: 0001857
2019-04-03 19:27 (ALTech) Eric Kim Note Edited: 0001857
2019-04-03 19:27 (ALTech) Eric Kim Issue Monitored: (SW) Jason Ling
2019-04-08 11:02 (SW) Kerwin Chen Note Added: 0001896
2019-04-10 11:54 (ALTech) Eric Kim Resolution fixed => open
2019-04-10 14:29 (SW) Kerwin Chen Note Added: 0001962
2019-04-15 09:26 (ALTech) Eric Kim Note Added: 0002000
2019-04-15 09:44 (SW) Kerwin Chen Note Added: 0002002
2019-04-16 09:26 (SW) Jim Chen Assigned To (SW) Kerwin Chen => (ALTech) Eric Kim
2019-04-16 09:26 (SW) Jim Chen Status assigned => resolved
2019-04-16 09:26 (SW) Jim Chen Resolution open => fixed
2019-04-16 11:53 (ALTech) Eric Kim Note Added: 0002008
2019-04-16 11:54 (ALTech) Eric Kim Status resolved => closed
2019-04-16 11:54 (ALTech) Eric Kim Note Added: 0002009